import Api from "../apis/Apis";
import Http from "../../utils/http";

const generateCard = (data) => {
    return Http.post(Api.CardBatchInfo.generateCard, data);
}

const list = (pageIndex) => {
    return Http.get(Api.CardBatchInfo.list + pageIndex);
}

const update = (id) => {
    return Http.post(Api.CardBatchInfo.update + id, {});
}


const CardBatchInfoService = {
    generateCard,
    list,
    update
}

export default CardBatchInfoService;